//
//  HLWaybillDetailObject.m
//  zhuanxian
//
//  Created by qipai on 2017/11/29.
//  Copyright © 2017年 huiling. All rights reserved.
//

#import "HLWaybillDetailObject.h"

@implementation HLWaybillDetailObject

- (instancetype)init {
    self = [super init];
    if (self) {
        self.startOffWebsiteId = @"";//发站网点ID
        self.startOffWebsite = @"";//发站网点名称
        self.destinationWebsiteId = @"";//到站网点ID
        self.destinationWebsite = @"";//到站网点名称
        self.cargoName = @"";//货物名称
        self.cargoCount = @"0";//件数
        self.cargoWeight = @"0.0";//货物重量
        self.cargoVolume = @"0.0";//货物体积 = @"";
        self.packing = @"";//包装
        self.consigneeName = @"";//收货联系人
        self.consigneeContactPhone = @"";//收货联系电话
        self.deliveryAddress = @"";//收货地址 = @"";
        self.consignorName = @"";//托运人 = @"";
        self.consignorContactPhone = @"";//托运人电话 = @"";
        self.service = @"";//送货方式(服务)
        self.transportType = @"";//运输类型
        self.transportFees = @"0.0";//运费
        self.othersFees = @"0.0";//其他费用 = @"";
        self.pickUpCargoFees = @"0.0";//接货费 = @"";
        self.disbursementsFees = @"0.0";//垫付费 = @"";
        self.deliveryCargoFees = @"0.0";//送货费 = @"";
        self.dispatchFees = @"0.0";//分拨费 = @"";
        self.departStorageFees = @"0.0";//发站仓储 = @"";
        self.arriveStorageFees = @"0.0";//到站仓储 = @"";
        self.authorizeFees = @"0.0";//代办费 = @"";
        self.forkLiftFees = @"0.0";//叉吊费 = @"";
        self.smsFees = @"0.0";//短信费 = @"";
        self.packingFees = @"0.0";//包装费 = @"";
        self.totalFees = @"0.0";//总运费
        self.paymentWay = @"";//付款方式
        self.collectionProcurationFees = @"";//代收货款 = @"";
        self.kickback = @"";//回扣 = @"";
        self.additionalGuest = @"";//附加特约 = @"";
        self.insuredFees = @"";//保价费用 = @"";//是否保价运输 必填(YES/NO) = @"";
        self.indemnityLimit = @"3";//赔偿倍数 = @"";
        self.insuredAmount = @"";//保价金额 = @"";
        self.carryPayFees = @"";//提付 = @"";
        self.nowPayFees = @"";//现付
        self.backPayFees = @"";//回付
        self.smsReceiverCreateWaybill = @"0";//短信通知收货方 0:不通知 1:通知
        self.smsConsignorCreateWaybill = @"0";//短信通知发货方 0:不通知 1:通知
        self.manuallyWaybill = @"";//手输运单号 必填(YES/NO)
        self.waybillNumber = @"";//运单号 manuallyWaybill为YES时必填
        self.destinationLocation = @"";//到站地址 无网点时必填
    }
    return self ;
}

- (id)copyWithZone:(NSZone *)zone {
    HLWaybillDetailObject *model = [[HLWaybillDetailObject allocWithZone:zone] init];
    model.startOffWebsiteId = self.startOffWebsiteId;//发站网点ID
    model.startOffWebsite = self.startOffWebsite;//发站网点名称
    model.destinationWebsiteId = self.destinationWebsiteId;//到站网点ID
    model.destinationWebsite = self.destinationWebsite;//到站网点名称
    model.cargoName = self.cargoName;//货物名称
    model.cargoCount = self.cargoCount;//件数
    model.cargoWeight = self.cargoWeight;//货物重量
    model.cargoVolume = self.cargoVolume;//货物体积 = @"";
    model.packing = self.packing;//包装
    model.consigneeName = self.consigneeName;//收货联系人
    model.consigneeContactPhone = self.consigneeContactPhone;//收货联系电话
    model.deliveryAddress = self.deliveryAddress;//收货地址 = @"";
    model.consignorName = self.consignorName;//托运人 = @"";
    model.consignorContactPhone = self.consignorContactPhone;//托运人电话 = @"";
    model.service = self.service;//送货方式(服务)
    model.transportType = self.transportType;//运输类型
    model.transportFees = self.transportFees;//运费
    model.othersFees = self.othersFees;//其他费用 = @"";
    model.pickUpCargoFees = self.pickUpCargoFees;//接货费 = @"";
    model.disbursementsFees = self.disbursementsFees;//垫付费 = @"";
    model.deliveryCargoFees = self.deliveryCargoFees;//送货费 = @"";
    model.dispatchFees = self.dispatchFees;//分拨费 = @"";
    model.departStorageFees = self.departStorageFees;//发站仓储 = @"";
    model.arriveStorageFees = self.arriveStorageFees;//到站仓储 = @"";
    model.authorizeFees = self.authorizeFees;//代办费 = @"";
    model.forkLiftFees = self.forkLiftFees;//叉吊费 = @"";
    model.smsFees = self.smsFees;//短信费 = @"";
    model.packingFees = self.packingFees;//包装费 = @"";
    model.totalFees = self.totalFees;//总运费
    model.paymentWay = self.paymentWay;//付款方式
    model.collectionProcurationFees = self.collectionProcurationFees;//代收货款 = @"";
    model.kickback = self.kickback;//回扣 = @"";
    model.additionalGuest = self.additionalGuest;//附加特约 = @"";
    model.insuredFees = self.insuredFees;//保价费用 = @"";//是否保价运输 必填(YES/NO) = @"";
    model.indemnityLimit = self.indemnityLimit;//赔偿倍数 = @"";
    model.insuredAmount = self.insuredAmount;//保价金额 = @"";
    model.carryPayFees = self.carryPayFees;//提付 = @"";
    model.nowPayFees = self.nowPayFees;//现付
    model.backPayFees = self.backPayFees;//回付
    model.smsReceiverCreateWaybill = self.smsReceiverCreateWaybill;//短信通知收货方 0:不通知 1:通知
    model.smsConsignorCreateWaybill = self.smsConsignorCreateWaybill;//短信通知发货方 0:不通知 1:通知
    model.manuallyWaybill = self.manuallyWaybill;//手输运单号 必填(YES/NO)
    model.waybillNumber = self.waybillNumber;//运单号 manuallyWaybill为YES时必填
    model.destinationLocation = self.destinationLocation;//到站地址 无网点时必填
    return model;
}

+ (NSDictionary*)mj_replacedKeyFromPropertyName {
    return @{@"waybillId":@"id"};
}


@end
